import {AgentPwd} from '@/base/model/AgentPwd';
import {putAgentPwd} from '@/base/api/AgentApi';

export class ChangeAgentPwdBloc {
  form = new AgentPwd()

  save(id: number) {
    const entity = {
      agentId: id,
      password: this.form.password
    };
    return putAgentPwd(entity)
  }
}
